Skip to content

The intelligent agent cannot view log tracking #20482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
5 tasks done
ssssshql opened this issue May 30, 2025 · 1 comment
Open
5 tasks done

The intelligent agent cannot view log tracking #20482

ssssshql opened this issue May 30, 2025 · 1 comment
Labels
🐞 bug Something isn't working 🤖 feat:agent Agent related topics

Comments

@ssssshql
Copy link

ssssshql commented May 30, 2025

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.3.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Some messages in the log can be traced, while others cannot. After clicking, the interface disappears. I found that this situation may only occur when calling through APIs, and it is unlikely to occur on the dify interface. In addition, these messages that cannot be traced have not been called to the tool as I expected (the response is that it is nonsense)

Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

@dosubot dosubot bot added the 🤖 feat:agent Agent related topics label May 30, 2025
Copy link

dosubot bot commented May 30, 2025

Based on your description and the codebase analysis, Dify's log tracking and tracing features depend on both backend data and tracing provider configuration. If some logs are visible but others are not, and the UI disappears after clicking, this usually points to one of the following:

  • The backend did not return log data for certain messages, possibly due to missing or failed trace batches, or a misconfigured tracing provider.
  • The tracing configuration (for providers like Langfuse, LangSmith, Weave, etc.) may be incomplete or not operational, causing some traces to be unavailable in the UI. The system checks provider health and configuration before displaying logs, so any issue here can result in missing logs or empty states in the interface (source).
  • The frontend TracingPanel and log components render logs based on the data they receive. If the backend returns empty or undefined data, the UI may show nothing or appear to "disappear" (source).

Troubleshooting steps:

  1. Check your tracing provider configuration in the Dify admin panel or environment variables. Make sure all required keys and endpoints are set and the provider is reachable.
  2. Review the backend logs (from your Docker containers) for errors related to tracing, log retrieval, or provider communication.
  3. Confirm that the logs you expect to see actually exist in the database. Some logs may not be created if a workflow run fails early or if there is a batch delivery issue.
  4. If you recently changed tracing providers or updated your configuration, restart your containers to ensure all services pick up the new settings.

There are no known open or closed issues in the repository that exactly match this problem, so it appears to be related to operational or configuration factors rather than a systemic bug in Dify 1.3.1. If the problem persists after checking the above, consider reviewing your tracing provider's health and reviewing any recent changes to your Docker or network setup.

To reply, just mention my name @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@crazywoola crazywoola added the 🐞 bug Something isn't working label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🤖 feat:agent Agent related topics
Projects
None yet
Development

No branches or pull requests

2 participants